logic bomb

n. Code surreptitiously inserted into an application or OS that causes it to
perform some destructive or security-compromising activity whenever
specified conditions are met. Compare back door.

